package com.shf.lease.web.admin.controller.apartment.response;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author 叶枫
 * @date 2024/7/5.
 */

@Data
@Schema(description = "图片新增/修改实体")
public class GraphVo {
    @Schema(description = "图片地址")
    @NotBlank(message = "图片地址不能为空")
    private String url;
    @NotNull(message = "图片id不能为空")
    private Long id;
    @NotNull(message = "名称不能为空")
    private String name;


}
